package com.itheima.reggie.service;

import com.itheima.reggie.domain.User;

//前台用户业务层接口
public interface UserService {

    //根据手机号查询是否注册过
    User findByPhone(String phone);

    //将对象保存到数据库中(注册)
    void save(User user);
}
